﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace broMap.System.Models
{
    /// <summary>
    /// 开放平台信息
    /// </summary>
    public class OpenPlatformInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 平台名称
        /// </summary>
        public string PlatformName { get; set; } = string.Empty;

        /// <summary>
        /// 平台 URL
        /// </summary>
        public string PlatformUrl { get; set; } = string.Empty;

        /// <summary>
        /// API 密钥
        /// </summary>
        public string ApiKey { get; set; } = string.Empty;

        /// <summary>
        /// 最后读取时间
        /// </summary>
        public DateTime LastReadTime { get; set; }

        /// <summary>
        /// 读取方法
        /// </summary>
        public string FetchMethod { get; set; } = "api";
    }
}
